/***
 * @description: 引入各类客户端启动
 * 
 */
// express-async-errors 能自动帮我们处理异步错误，发送到错误中间件里，须在所有路由之前引入不需要赋值
require('express-async-errors');

//加载getIP
const { getIP } = require('@/utils/index.js');

// 引入API测试
const Test = require('@root/Test/apiTest');

// 启动mongo数据库客户端
// require('@/client/mongoClient');

//启动websocket客户端
// require('@/client/socketClient');

//启动mysql客户端
require('@/client/mysqlClient');

//启动redis客户端
const redis = require('@/client/redisClient');

// 启动接口联调测试
// Test(app);
module.exports = {
  getIP
};